package com.project.service.backend.basic;

import java.util.List;

import com.project.dao.bean.Limits;
import com.project.dao.bean.Role;
import com.project.service.IBaseService;

/**
 * 后台 角色管理 Service 接口
 * @author Sn
 *
 */
public interface RoleService extends IBaseService 
{
	
	public int save(Role role) throws Exception;
	
	public Role getRoleById(Role role) throws Exception;
	
	public void update(Role role) throws Exception;
	
	public void delete(Role role) throws Exception;
	
	public List<Role> findRoleBypg(Role role) throws Exception;
	
	public List<Limits> getRoleLimit(Role role) throws Exception;
	
	public List<Role> findRole() throws Exception;
}
